package com.xiaoq.distribution.repository;

import java.util.List;

import com.xiaoq.distribution.entity.AgreementEntity;
import com.xiaoq.vo.PagingVo;

public interface IAgreementRepository {
	
	public boolean save(AgreementEntity agree);
	
	/**
	 * 详情查询
	 * @param id
	 * @return
	 */
	public AgreementEntity findById(String id);
	
	/**
	 * 
	 * @param shopId
	 * @param pvo
	 * @return
	 */
	public List<AgreementEntity> findByShopId(String shopId,PagingVo pvo);

}
